package com.lzjn.code.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {

	private static Logger log = LoggerFactory.getLogger(HomeController.class);
	
	@RequestMapping(value="/index")
	public String index() {
		
		log.info("进入首页");
		
		return "index";
	}
	
	@RequestMapping(value="/home")
	public String home() {
		
		return "views/home";
	}
}
